<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    
    <meta name="referrer" content="no-referrer-when-downgrade">
    
    <meta name="renderer" content="webkit"/>
    <meta name="force-rendering" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <script>if (/*@cc_on!@*/false || (!!window.MSInputMethodContext && !!document.documentMode)) window.location.href="https://support.dmeng.net/upgrade-your-browser.html?referrer="+encodeURIComponent(window.location.href); </script>
    
    
        <link rel="preload" crossorigin="crossorigin" href="/fonts/roboto/Roboto-Regular.woff2" as="font">
        <link rel="preload" crossorigin="crossorigin" href="/fonts/roboto/Roboto-Bold.woff2" as="font">
    
    
    
        <link rel="shortcut icon" href="/icons/favicon.ico">
    

    
    
        
<link rel="stylesheet" href="/css/mdui.min.v1.0.0.css">

    
    
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/css/iconfont.css">


    
    

    
        <script data-ad-client="ca-" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    












          


    
    
    <title>
        
            标签 | 吴豪阳的数据库
        
    </title>
    
    
<meta name="generator" content="Hexo 5.4.1"></head>
<body class="mdui-drawer-body-left mdui-appbar-with-toolbar mdui-theme-primary-teal mdui-theme-accent-blue">
  
  <header class="mdui-appbar mdui-appbar-fixed">
  <div id="toolbar" class="mdui-toolbar mdui-color-theme">
    <button class="mdui-btn mdui-btn-icon" mdui-drawer="{target: '#sidebar', swipe: true}"><i class="iconfont icon-menu"></i></button>
    <a href="/" class="mdui-typo-headline">吴豪阳的数据库</a>
    <a href="/" class="header-subtitle mdui-typo-headline"></a>
    <div class="mdui-toolbar-spacer"></div>
    <button class="mdui-btn mdui-btn-icon" mdui-dialog="{target: '#search'}" mdui-tooltip="{content: 'search'}"><i class="iconfont icon-search"></i></button>
  </div>
</header>

<div class="mdui-dialog" id="search">
  
    <div class="search-form">
      <input type="search" class="search-form-input" placeholder="请输入关键字" onfocus="listenSearchFunc()">
    </div>
    <div class="search-result" data-resource="/search.xml"></div>
  
</div>

  <aside id="sidebar" class="mdui-drawer">
    <div class="mdui-tab" mdui-tab>
        <a href="#sidebar-tab1" id="sidebartab" class="mdui-ripple mdui-tab-active">站点概览</a>
        <a href="#sidebar-tab2" id="sidebartab" class="mdui-ripple">关于</a>
    </div>

    
    <div id="sidebar-tab1" class="mdui-p-a-1">
        <div class="mdui-list">
            
                
                <a href="/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-home"></i>
                    </div>
                    <div class="mdui-list-item-content">主页</div>
                </a>
            
                
                <a href="/tags/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-bookmark"></i>
                    </div>
                    <div class="mdui-list-item-content">标签</div>
                </a>
            
                
                <a href="/categories/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-folder"></i>
                    </div>
                    <div class="mdui-list-item-content">分类</div>
                </a>
            
                
                <a href="/archives/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-archive"></i>
                    </div>
                    <div class="mdui-list-item-content">归档</div>
                </a>
            
                
                <a href="/tools/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-tools"></i>
                    </div>
                    <div class="mdui-list-item-content">工具箱</div>
                </a>
            
                
                <a href="/about/" class="mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-user"></i>
                    </div>
                    <div class="mdui-list-item-content">关于</div>
                </a>
            
            <div class="mdui-list-item mdui-ripple">
                <div class="mdui-list-item-icon">
                    <i class="iconfont icon-moon"></i>
                </div>
                <div class="mdui-list-item-content">夜间模式</div>
                <label class="mdui-switch" id="darkmode">
                  <input type="checkbox" id="nightmode_switch"/>
                  <i class="mdui-switch-icon"></i>
                </label>
            </div>           
        </div>
    </div>

    
    <div id="sidebar-tab2" class="mdui-p-a-1">
        <div class="sidebar-overview">
            <div class="sidebar-avatar">
                
                    <img src="/icons/avatar.gif"/>
                
            </div>
            <div class="sidebar-author-name">John Doe</div>
            <div class="sidebar-description"></div>
        </div>
        <div class="sidebar-links">
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-mail"></i></span>
                    <a href="mailto:xxx@xxx.com" class="mdui-chip-title">E-Mail</a>
                </div>
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-github"></i></span>
                    <a target="_blank" rel="noopener" href="https://your.url" class="mdui-chip-title">GitHub</a>
                </div>
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-steam"></i></span>
                    <a target="_blank" rel="noopener" href="https://your.url" class="mdui-chip-title">Steam</a>
                </div>
            
                
                <div class="mdui-chip">
                    <span class="mdui-chip-icon"><i class="iconfont icon-weibo"></i></span>
                    <a target="_blank" rel="noopener" href="https://your.url" class="mdui-chip-title">Weibo</a>
                </div>
            
        </div>
        <ul class="mdui-list" mdui-collapse="{accordion: true}">
            <li class="mdui-collapse-item">
                <div class="mdui-collapse-item-header mdui-list-item mdui-ripple">
                    <div class="mdui-list-item-icon">
                        <i class="iconfont icon-link"></i>
                    </div>
                    <div class="mdui-list-item-content">友情链接</div>
                    <div class="mdui-collapse-item-arrow">
                        <i class="mdui-list-item-icon iconfont icon-angle-down"></i>
                    </div>
                </div>
                <ul id="linksList" class="mdui-collapse-item-body mdui-list mdui-list-dense">
                    
                        <a target="_blank" rel="noopener" href="https://garybear.cn/hexo-theme-meadow/" class="mdui-list-item mdui-ripple">
                            Meadow说明文档
                        </a>
                    
                </ul>
            </li>
        </ul>
    </div>

    <div class="mdui-divider"></div>
    
    
</aside>
  
  <main id="main-contain" class="mdui-container mdui-m-t-5">
    <article id="article" class="mdui-card mdui-p-b-2 mdui-m-b-5">
  <header class="mdui-card-media">
    
    
      <div class="post-header"> 
  <a class="post-header-title" href="/2022/03/13/HTML/html/">标签</a>
  <div class="post-header-meta">
    <span>
      <span class="iconfont icon-calendar"></span>
      发布于:&nbsp;2022-03-13
    </span>
    <span>
      <span class="iconfont icon-calendar-check"></span>
      更新于:&nbsp;2022-03-13
    </span>
    <span>
      <span class="iconfont icon-folder"></span>
      分类于:&nbsp;
    </span>
    
      <span>
        <span class="iconfont icon-eye"></span>
        阅读次数:&nbsp;
        <span id="busuanzi_container_page_pv"><span id="busuanzi_value_page_pv"></span></span>
      </span>
    
  </div>
</div>   
    



    
    
    <div class="mdui-card-menu">
    
      <button class="mdui-btn mdui-btn-icon mdui-text-color-teal" mdui-menu="{target: '#share_menu', align: 'right'}"><i class="iconfont icon-share"></i></button>
      <ul class="mdui-menu" id="share_menu">
        <li class="mdui-menu-item">
          <a href="http://service.weibo.com/share/share.php?appkey=&title=标签&url=http://example.com/2022/03/13/HTML/html/&pic=http://example.com/null&searchPic=false&style=simple" target="_blank" class="mdui-ripple">分享到 Weibo</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://twitter.com/intent/tweet?text=标签&url=http://example.com/2022/03/13/HTML/html/&via=John Doe" target="_blank" class="mdui-ripple">分享到 Twitter</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://www.facebook.com/sharer/sharer.php?u=http://example.com/2022/03/13/HTML/html/" target="_blank" class="mdui-ripple">分享到 Facebook</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://plus.google.com/share?url=http://example.com/2022/03/13/HTML/html/" target="_blank" class="mdui-ripple">分享到 Google+</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://www.linkedin.com/shareArticle?mini=true&url=http://example.com/2022/03/13/HTML/html/&title=标签" target="_blank" class="mdui-ripple">分享到 LinkedIn</a>
        </li>
        <li class="mdui-menu-item">
          <a href="http://connect.qq.com/widget/shareqq/index.html?site=吴豪阳的数据库&title=标签&summary=&pics=http://example.com/null&url=http://example.com/2022/03/13/HTML/html/" target="_blank" class="mdui-ripple">分享到 QQ</a>
        </li>
        <li class="mdui-menu-item">
          <a href="https://telegram.me/share/url?url=http://example.com/2022/03/13/HTML/html/&text=标签" target="_blank" class="mdui-ripple">分享到 Telegram</a>
        </li>
      </ul>
    
  </div>
  </header>
  
  
  
  
  
  <div class="mdui-card-content mdui-typo mdui-p-x-4">
    <figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br></pre></td><td class="code"><pre><span class="line">&lt;html&gt;&lt;/html&gt; 创建一个HTML文档</span><br><span class="line">&lt;head&gt;&lt;/head&gt; 设置文档标题和其它在网页中不显示的信息</span><br><span class="line">&lt;title&gt;&lt;/title&gt; 设置文档的标题        </span><br><span class="line">&lt;h1&gt;&lt;/h1&gt; 最大的标题</span><br><span class="line">&lt;pre&gt;&lt;/pre&gt; 预先格式化文本          </span><br><span class="line">&lt;u&gt;&lt;/u&gt; 下划线</span><br><span class="line">&lt;b&gt;&lt;/b&gt; 黑体字    </span><br><span class="line">&lt;i&gt;&lt;/i&gt; 斜体字    </span><br><span class="line">&lt;tt&gt;&lt;/tt&gt; 打字机风格的字体</span><br><span class="line">&lt;cite&gt;&lt;/cite&gt; 引用, 通常是斜体        </span><br><span class="line">&lt;em&gt;&lt;/em&gt; 强调文本(通常是斜体加黑体)</span><br><span class="line">&lt;strong&gt;&lt;/strong&gt; 加重文本(通常是斜体加黑体)</span><br><span class="line">&lt;font size=&quot;&quot; color=&quot;&quot;&gt;&lt;/font&gt; 设置字体大小从1到7，颜色使用名字或RGB的十六进制值</span><br><span class="line">&lt;BASEFONT&gt;&lt;/BASEFONT&gt; 基准字体标记</span><br><span class="line">&lt;big&gt;&lt;/big&gt; 字体加大</span><br><span class="line">&lt;SMALL&gt;&lt;/SMALL&gt; 字体缩小        </span><br><span class="line">&lt;STRIKE&gt;&lt;/STRIKE&gt; 加删除线</span><br><span class="line">&lt;CODE&gt;&lt;/CODE&gt; 程式码          </span><br><span class="line">&lt;KBD&gt;&lt;/KBD&gt; 键盘字</span><br><span class="line">&lt;SAMP&gt;&lt;/SAMP&gt; 范例    </span><br><span class="line">&lt;VAR&gt;&lt;/VAR&gt; 变量</span><br><span class="line">&lt;BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt; 向右缩排</span><br><span class="line">&lt;DFN&gt;&lt;/DFN&gt; 述语定义</span><br><span class="line">&lt;ADDRESS&gt;&lt;/ADDRESS&gt; 地址标记</span><br><span class="line">&lt;sup&gt;&lt;/SUP&gt; 上标字    </span><br><span class="line">&lt;SUB&gt;&lt;/SUB&gt; 下标字</span><br><span class="line">&lt;xmp&gt;...&lt;/xmp&gt;固定寬度字体(在文件中空白、換行、定位功能有效)</span><br><span class="line">&lt;plaintext&gt;...&lt;/plaintext&gt;固定寬度字體(不執行標記符號)</span><br><span class="line">&lt;listing&gt;...&lt;/listing&gt; 固定寬度小字體  </span><br><span class="line">&lt;font color=00ff00&gt;...&lt;/font&gt;字體顏色</span><br><span class="line">&lt;font size=1&gt;...&lt;/font&gt;最小字體  </span><br><span class="line">&lt;font style =&#x27;font-size:100 px&#x27;&gt;...&lt;/font&gt;無限增大 </span><br><span class="line"></span><br><span class="line"> </span><br><span class="line"></span><br><span class="line">格式标志标签</span><br><span class="line">&lt;p&gt;&lt;/p&gt; 创建一个段落    </span><br><span class="line">&lt;p align=&quot;&quot;&gt; 将段落按左、中、右对齐 　</span><br><span class="line">&lt;br&gt; 换行 插入换行符  </span><br><span class="line">&lt;blockquote&gt;&lt;/blockquote&gt; 从两边缩进文本</span><br><span class="line">&lt;dl&gt;&lt;/dl&gt; 定义列表</span><br><span class="line">&lt;dt&gt; 放在每个定义术语词前</span><br><span class="line">&lt;dd&gt; 放在每个定义之前</span><br><span class="line">&lt;ol&gt;&lt;/ol&gt; 创建一个标有数字的列表  </span><br><span class="line">&lt;ul&gt;&lt;/ul&gt; 创建一个标有圆点的列表</span><br><span class="line">&lt;li&gt; 放在每个列表项之前, 若在&lt;ol&gt;&lt;/ol&gt;之间则每个列表项加上一个数字, </span><br><span class="line">  若在&lt;ul&gt;&lt;/ul&gt;之间则每个列表项加上一个圆点 　 　</span><br><span class="line">&lt;div align=&quot;&quot;&gt;&lt;/div&gt; 用来排版大块HTML段落, 也用于格式化表</span><br><span class="line">&lt;MENU&gt; 选项清单  </span><br><span class="line">&lt;DIR&gt; 目录清单  </span><br><span class="line">&lt;nobr&gt;&lt;/nobr&gt; 强行不换行</span><br><span class="line">&lt;hr size=&#x27;9&#x27; width=&#x27;80%&#x27; color=&#x27;ff0000&#x27;&gt;水平線(設定寬度)  </span><br><span class="line">&lt;center&gt;&lt;/center&gt; 水平居中  </span><br><span class="line"></span><br><span class="line">链接标志表格标志</span><br><span class="line">&lt;a href=&quot;URL&quot;&gt;&lt;/a&gt; 创建超文本链接  </span><br><span class="line">&lt;a href=&quot;mailtEMAIL&quot;&gt;</span><br><span class="line">&lt;/a&gt; 创建自动发送电子邮件的链接  </span><br><span class="line">&lt;a name=&quot;name&quot;&gt;&lt;/a&gt; 创建位于文档内部的书签</span><br><span class="line">&lt;a href=&quot;#name&quot;&gt;&lt;/a&gt; 创建指向位于文档内部书签的链接</span><br><span class="line">&lt;BASE&gt; 文档中不能被该站点辨识的其它所有链接源的URL</span><br><span class="line">&lt;LINK&gt; 定义一个链接和源之间的相互关系 </span><br><span class="line"></span><br><span class="line">链接标记注解：</span><br><span class="line"></span><br><span class="line">◆target=&quot;...&quot;决定链接源在什么地方显示(用户自定义的名字，_blank, _parent, _self, _top</span><br><span class="line">◆rel=&quot;...&quot;发送链接的类型  </span><br><span class="line">◆rev=&quot;...&quot;保存链接的类型</span><br><span class="line">◆accesskey=&quot;...&quot;指定该元素的热键</span><br><span class="line">◆shape=&quot;...&quot;允许我们使用已定义的形状定义客户端的图形镜像(default，rect，circle，poly</span><br><span class="line">◆coord=&quot;...&quot;使用像素或者长度百分比来定义形状的尺寸</span><br><span class="line">◆tabindex=&quot;...&quot;使用定义过的tabindex元素设置在各个元素之间的焦点获取顺序(使用tab键使元素获得焦点)</span><br></pre></td></tr></table></figure>

  </div>
  <!--文末结束语-->
  
    <div style="text-align:center;color: #ccc;font-size:24px;"> --- 本文结束 <i class="iconfont icon-heartbeat" style="font-size:24px;"></i> The End --- </div>
  
  <!--页脚广告-->
  
  <div class="mdui-divider"></div>
  
  <nav>
    
      <a rel="prev" class="post-nav-item mdui-float-left" href="/2022/03/13/es6/%E7%BB%A7%E6%89%BF/">
        <i class="iconfont icon-angle-left"></i>
        <span>继承</span>
      </a>
    
    
      <a rel="next" class="post-nav-item mdui-float-right" href="/2022/03/13/VUE/vue-1/">
        <span>常用的指令</span>
        <i class="iconfont icon-angle-right"></i>
      </a>
    
  </nav>
</article>




  <div class="toc-button"  style="z-index: 100;">
    <button class="mdui-fab mdui-ripple mdui-color-teal" mdui-menu="{target: '#toc'}"><i class="iconfont icon-list"></i></button>
    <ul class="mdui-menu" id="toc">
      <li class="mdui-menu-item">
        <a href="/2022/03/13/HTML/html/" id="toc-header" class="mdui-ripple">文章目录</a>
        
      </li>
    </ul>
  </div>



    <div id="comment" class="mdui-card mdui-p-a-2 mdui-m-b-5">
      <div class="mdui-tab" mdui-tab>
        
          <a href="#comment-tab0" class="mdui-ripple">gitalk</a>
        
          <a href="#comment-tab1" class="mdui-ripple">livere</a>
        
      </div>
      
        <div id="comment-tab0" class="mdui-p-a-2">
          <div id="gitalk-container"></div>
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk/dist/gitalk.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/js-md5@0.7.3/src/md5.min.js"></script>
<script>
  var gitalk = new Gitalk({
    clientID: '',
    clientSecret: '',
    repo: '',
    owner: '',
    admin: [''],
    id:  md5(location.pathname) ,
    distractionFreeMode: 'true',
  });
  gitalk.render('gitalk-container');
</script>
        </div>
      
        <div id="comment-tab1" class="mdui-p-a-2">
          <div id="lv-container" data-id="city" data-uid="">
  <script type="text/javascript">
    (function (d, s) {
      var j, e = d.getElementsByTagName(s)[0];
      if (typeof LivereTower === 'function') { return; }
      j = d.createElement(s);
      j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
      j.async = true;
      e.parentNode.insertBefore(j, e);
    })(document, 'script');
  </script>
  <noscript>Please enable JavaScript to view the comments powered by LiveRe.</noscript>
</div>
        </div>
      
    </div>

  </main>
  <footer id="footer" class="mdui-text-center mdui-m-t-5 mdui-p-b-2 mdui-p-t-4 mdui-color-theme">
  <div class="mdui-container">
    <div class="mdui-row">
      
        <a href="https://beian.miit.gov.cn" rel="noopener" target="_blank"></a>
      
      <span>
        &copy; 2015 - 2022 
        
          <span style="color:#d9333f" class="iconfont icon-heart"></span>
        
        John Doe
      </span>
    </div>
    <div class="mdui-row">
      
        <div class="mdui-col-xs-6 mdui-text-right">
          <span>Powered by <a href="https://hexo.io/" rel="noopener" target="_blank">Hexo</a></span>
        </div>
        <div class="mdui-col-xs-6 mdui-text-left">
          <span>Theme: <a href="https://github.com/kb1000fx/Meadow" rel="noopener" target="_blank">Meadow</a></span>
        </div>
      
    </div>
    <div class="mdui-row">
      
        <div class="mdui-col-xs-6 mdui-text-right">
          <span id="busuanzi_container_site_uv" style="display: none;"> <span class="iconfont icon-user"></span>总访客量 <span id="busuanzi_value_site_uv"></span></span>
        </div>
        <div class="mdui-col-xs-6 mdui-text-left">
          <span id="busuanzi_container_site_pv" style="display: none;"> <span class="iconfont icon-eye"></span>总访问量 <span id="busuanzi_value_site_pv"></span></span>
        </div>
      
    </div>
 </div>
</footer>
  
  <button id="gotop" class="mdui-fab mdui-fab-fixed mdui-fab-hide mdui-ripple mdui-color-teal" style="z-index:100;"><i class="iconfont icon-arrowup"></i></button>
  
  

    <script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>




    <script src="https://cdn.jsdelivr.net/npm/mermaid@8.4.8/dist/mermaid.min.js"></script>
    <script>mermaid.initialize({
        startOnLoad: true,
        theme: "default"
    });</script>




    
<script src="/js/mdui.min.v1.0.0.js"></script>




<script src="/js/meadow.js"></script>

</body>
</html >